package me.base.commom.model.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import me.base.utils.jackson.JacksonUtil;

import java.io.Serializable;

@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public abstract class BaseDTO implements Serializable {

    @Override
    public String toString() {
        return JacksonUtil.toJsonString(this);
    }
}
